package org.example.maven.pojo.list;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class ListTableCollectionEditDetail {
    private Integer id;
    private String internalId;
    private String classificationId;
    private String eraId;
    private String name;
    private String alternateName;
    private String description;
    private PreservationStatus preservationStatus = PreservationStatus.完好;
    private BigDecimal weight;
    private String currentLocation;
    private CollectionStatus status = CollectionStatus.在库;
    private String img;



    // 保存状态枚举
    public  enum PreservationStatus {
        完好, 轻微损伤, 严重损伤, 修复中
    }

    // 藏品状态枚举
    public enum CollectionStatus {
        在库, 展出, 外借, 修复中, 已注销
    }
}
